home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- Urltext.mcc/Urltext.mcc
- Urltext.mcc/MUIA_Urltext_Active
- Urltext.mcc/MUIA_Urltext_DoOpenURL
- Urltext.mcc/MUIA_Urltext_DoVisitedPen
- Urltext.mcc/MUIA_Urltext_FallBack
- Urltext.mcc/MUIA_Urltext_NoMenu
- Urltext.mcc/MUIA_Urltext_SetMax
- Urltext.mcc/MUIA_Urltext_Text
- Urltext.mcc/MUIA_Urltext_Underline
- Urltext.mcc/MUIA_Urltext_Url
- Urltext.mcc/MUIA_Urltext_Visited
- Urltext.mcc/MUIM_Urltext_Copy
- Urltext.mcc/MUIM_Urltext_OpenURL
- Urltext.mcc/Urltext.mcc
-
- Urltext.mcc is a subclass of Area.mui and offers a very simple text
- that acts like an active url, as a html link in a browser. Urltext
- is expecially useful in About windows. When the user clicks an Urltext
- object, openurl.library is used to reach the url. Urltext.mcc may be
- configured in MUI configuration window to adjust colors and other
- defaults.
-
- Urltext.mcc uses OpenURL system wich is copyright by Troels Walsted Hansen.
-
- Urltext.mcc is copyright Alfonso Ranieri <alforan@tin.it>.
-
- Urltext.mcc is FREEWARE.
-
- E language support is by Jean Holzammer
-
- Español support is by Javier de las Rivas
- Magyar support is by by Márton Dósa
-
- WARNING
- This software and information are provided AS IS.
- All use is at your own risk, and no liability or
- responsibility is assumed. No warranties are made.
-
- Note that in the following the attribute scheme is [ISGN].
-
- Urltext.mcc/MUIA_Urltext_Active
-
- NAME
- MUIA_Urltext_Active -- [..G.], BOOL
-
- FUNCTION
- Urltext.mcc needs openurl.library installed and configured
- to work. This attribute is set to 1 if OpenURL in installed
- in the system, to 0 otherwise.
-
- Urltext.mcc/MUIA_Urltext_DoOpenURL
-
- NAME
- MUIA_Urltext_DoOpenURL -- [I...], BOOL
-
- FUNCTION
- If this attribute is set to 1 (default), the url is reached when
- the user clicks the object. If it is set to 0, nothing happens
- if the user clicks the object.
-
- Urltext.mcc/MUIA_Urltext_DoVisitedPen
-
- NAME
- MUIA_Urltext_DoVisitedPen -- [I...], BOOL
-
- FUNCTION
- At creation time this attribute may be set to determinate how
- the text is drawn after the user clicked the object.
- In Urltext preferences, the user may define a color to be used
- to draw the text after the object was clicked.
- If this attribute is set to 1 (default), that color is used.
-
- Note that this attribute overwrites the user preferences and
- therefore it should be used sparerly.
-
- Urltext.mcc/MUIA_Urltext_FallBack
-
- NAME
- MUIA_Urltext_Fallback -- [I...], BOOL
-
- FUNCTION
- At creation time this attribute may be set to determinate how
- the text is drawn if OpenURL is not installed in the system.
- If OpenURL is installed in the system, this attribute is not
- used. If OpenURL is not installed in the system and
- MUIA_Urltext_Fallback is 0, the text is drawn with MUI Text
- pen and the object is not active. If OpenURL is not installed
- in the system and MUIA_Urltext_Fallback is 1, the text is drawn
- as OpenURL was installed and the object is active (but nothing
- happens if the user clicks on it).
-
- Note that this attribute overwrites the user preferences and
- therefore it should be used sparerly.
-
- Urltext.mcc/MUIA_Urltext_NoMenu
-
- NAME
- MUIA_Urltext_NoMenu -- [I...], BOOL
-
- FUNCTION
- Since Urltext.mcc 14.4, an Urltext object is created with
- a context menu. If you don't want the menu to be created
- set this attribute to 1 or supply your own context menu
- (a NULL is ok).
-
- Urltext.mcc/MUIA_Urltext_SetMax
-
- NAME
- MUIA_Urltext_SetMax -- [I...], BOOL
-
- FUNCTION
- Normally, an Urltext object is horiz limited by the width
- of its MUIA_Urltext_Text (or MUIA_Urltext_Url). If this
- attribute is set to 0, the object will be x-unlimited.
-
- Urltext.mcc/MUIA_Urltext_Text
-
- NAME
- MUIA_Urltext_Text -- [I.G.], STRPTR
-
- FUNCTION
- This is the text to show. If it is not supplied or it is
- NULL MUIA_Urltext_Url is used. It may be max 256 chars long
- (terminal '\0' included) and it is copied. Note that no MUI
- text engine escape code is recognized.
-
- Urltext.mcc/MUIA_Urltext_Underline
-
- NAME
- MUIA_Urltext_Underline -- [I...], BOOL
-
- FUNCTION
- At creation time, this attribute may be used to make the
- text being underlined.
-
- Note that this attribute overwrites the user preferences and
- therefore it should be used sparerly.
-
- Urltext.mcc/MUIA_Urltext_Url
-
- NAME
- MUIA_Urltext_Url -- [I.GN], STRPTR
-
-
- FUNCTION
- The url to show. It may be max 256 chars long (terminal '\0'
- included) and it is copied. When the mouse is over the object,
- this attribute is notified. When the mouse is not over the
- object this attribute is notified as NULL. Note that the
- content of this attribute is used instead of MUIA_Urltext_Text,
- if that is not suppleid or it is NULL and that an Urltext
- object is not created if this attribute is not supplied.
-
- Urltext.mcc/MUIA_Urltext_Visited
-
- NAME
- MUIA_Urltext_DoVisitedPen -- [..GN], BOOL
-
- FUNCTION
- When the object is clicked for the first time, this attribute
- is set to 1 and notified.
-
- Urltext.mcc/MUIM_Urltext_Copy
-
- NAME
- MUIM_Urltext_Copy
-
- SYNOPSIS
- res = DoMethod(obj,MUIM_Urltext_Copy,unit);
-
- FUNCTION
- Invoking this method, the url is copied to the clipboard
- unit number unit.
-
- RESULT
- A boolean to indicates if the url was copied or not.
- Urltext.mcc/MUIM_Urltext_OpenURL
-
- NAME
- MUIM_Urltext_OpenURL
-
- SYNOPSIS
- res = DoMethod(obj,MUIM_Urltext_OpenURL,flags);
-
- FUNCTION
- This method make the object to open its url like it was
- clicked by the user. At the moment no flag is used so
- leave it 0.
-
- RESULT
- A boolean to indicates if the url was reached or not.
-